﻿.alllep {
    width: 100%;
    height: 500px;
    margin: 0 auto 0 auto;

}
.list{
    width: 15%;
    height: 500px;
    margin: 0 auto 0 auto;
    display: inline-block;
    perspective:1000px;
    background-color:aqua;
}
.listtext, .listpic {
    position: absolute;
    width: 15%;
    height: 500px;
    margin: 0 auto 0 auto;
    background-color: rgba(0, 0, 0, 0.65);
    transition: 0.5s;
   
}

.listtext {
    width: 50%;
    height: 500px;
    color: azure;
    display: inline-block;
    float:left;
}
.listpic {
    transform: rotateY(0);
}
.list:hover .listpic{
    transform: rotateY(-90deg);
}